package org.ruoyi.gathe.domain.bo;


import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.ruoyi.common.core.validate.EditGroup;
import org.ruoyi.common.mybatis.core.domain.BaseEntity;
import org.ruoyi.gathe.domain.GatheTable;

/**
 * 采集数据主业务对象 gathe_table
 *
 * @author bz_huaYal9146
 * @date 2025-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = GatheTable.class, reverseConvertGenerate = false)
public class GatheTableBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 表名
     */
    private String gatheTable;

    /**
     * 表中文名
     */
    private String gatheTableName;

    /**
     * 更新的依据字段
     */
    private String gatheTableColumn;

    /**
     * 规则：日day；月month；周week
     */
    private String gatheFormula;

    /**
     * 规则值：往前的值如-1；往后的值发1
     */
    private String gatheFormulaValue;


}
